package com.zatech.cgnci.project.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author EDY
 * @version 1.0
 * Create by 2024/12/18 17:40
 */
@Data
@ApiModel(value = "CgnciBusinessProjectCancelDTO")
public class CgnciBusinessProjectCancelDTO {

    @ApiModelProperty("项目id")
    @NotNull(message = "projectId cannot bt nul")
    private Long projectId;

    @ApiModelProperty("作废原因")
    @NotBlank(message = "cancelReason cannot be null")
    private String cancelReason;

    @ApiModelProperty(value = "工作流类型,固定值:submit")
    @NotBlank(message = "flowTaskType cannot be null")
    private String flowTaskType;

    @ApiModelProperty(value = "任务流程id")
    @NotNull(message = "approvalInfoId cannot be null")
    private Long approvalInfoId;

}
